/*
 * @Author: 肖芬芳 10547202+xiao-fenfang@user.noreply.gitee.com
 * @Date: 2022-07-20 08:52:17
 * @LastEditors: 肖芬芳 1911683843@qq.com
 * @LastEditTime: 2022-11-30 16:49:08
 * @FilePath: \vue-api-serverc:\Users\Administrator\Desktop\vite-project\src\views\system\user\option.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

export default {
    piFormItem: [
        [{
            label: "用户账号：",
            value: 'account',
            width: 12,
            maxlength:10,

        }, {
            label: "登录密码：",
            value: 'password',
            width: 12,

        }], [{
            label: '电话号码：',
            value: 'phone',
            width: 12,
        }, {
            label: '电子邮箱：',
            value: 'email',
            width: 12,
        }],
        [{
            label: '用户姓名：',
            value: 'username',
            width: 12,
        },
        {
            label: "角色：",
            value: 'role',
            width: 12,
        },]
    ],
    mpFormItem: [[{
        label: "登录密码：",
        value: 'password',
        width: 20,
        maxlength:20,
        type: 'password',
        rule: [
            { required: true, message: '请输入登录密码！', trigger: 'blur' },
        ]

    }], [{
        label: "新密码：",
        value: 'newPassword',
        width: 20,
        maxlength:20,
        type: 'password',
        rule: [
            { required: true, message: '请输入新密码！', trigger: 'blur' },
        ]

    }],[{
        label: "确认密码：",
        value: 'confirmPassword',
        width: 20,
        maxlength:20,
        type: 'password',
        rule: [
            { required: true, message: '请输入确认密码！', trigger: 'blur' },
        ]
    }]],
}